package com.example.rentalcar.entity;

import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 维修清单对象 fix
 * 
 * @author ruoyi
 * @date 2024-01-03
 */
@TableName("fix")
public class Fix
{


    /** 维修表id */
    private Long fixId;

    /** 故障车辆id */

    private Long carId;

    /** 用户id */

    private Long userId;

    /** 当前地址 */

    private String address;

    /** 车主id */

    private Long driverId;

    /** 故障内容 */

    private String faultContent;

    /** 维修人员id */

    private Long fixStaff;

    public void setFixId(Long fixId) 
    {
        this.fixId = fixId;
    }

    public Long getFixId() 
    {
        return fixId;
    }
    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }
    public void setFaultContent(String faultContent) 
    {
        this.faultContent = faultContent;
    }

    public String getFaultContent() 
    {
        return faultContent;
    }
    public void setFixStaff(Long fixStaff) 
    {
        this.fixStaff = fixStaff;
    }

    public Long getFixStaff() 
    {
        return fixStaff;
    }

    @Override
    public String toString() {
        return "Fix{" +
                "fixId=" + fixId +
                ", carId=" + carId +
                ", userId=" + userId +
                ", address='" + address + '\'' +
                ", driverId=" + driverId +
                ", faultContent='" + faultContent + '\'' +
                ", fixStaff=" + fixStaff +
                '}';
    }

    public Fix() {
    }
}
